package com.itheima.spring.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

/**
 * @author ：sean
 * @date ：Created in 2020/6/28
 * @description ：
 * @version: 1.0
 */

public class HmAspect {

	@Pointcut("within(com.itheima.spring.service.impl.*)")
	private void serviceImpl(){}

	@Before("serviceImpl()")
	public void doServiceBefore(){
		System.out.println("doServiceBefore aop....");
	}


}
